const mysql=require('mysql');
const pool=mysql.createPool({
	host:'127.0.0.1',
    port:'3306',
    user:'root',
    password:'',
    database:'sam',
	connectionLimit:20,
  charset: 'utf8'  //数据库的编码方式
});
module.exports=pool;